package com.tutorialspoint.tranc;

public class Logging {
	public void beforeAdvice() {
		System.out.println("Before advice.");
	}
	public void afterAdvice() {
		System.out.println("After advice.");
	}
	public void afterReturningAdvice(Object retVal) {
		System.out.println("Returning:" + retVal.toString());
	}
	public void AfterThrowingAdvice(IllegalArgumentException ex) {
		System.out.println("There has been an exception:" + ex.toString());
	}
}
